<?php

require_once 'Zend/Db/Table.php';

class St_Permission extends Zend_Db_Table {

    protected $_name = "permission";

    public function getByKey($key) {
        return $this->fetchRow($this->getAdapter()->quoteInto("PermissionKey = ?", $key));
    }

}